package com.zjitc.serviceedu.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zjitc.serviceedu.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zjitc.serviceedu.entity.subject.OneSubject;
import com.zjitc.serviceedu.entity.subject.TwoSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author 赵诚挚
 * @since 2024-09-20
 */
public interface EduSubjectService extends IService<EduSubject> {
    //添加课程分类
    void saveSubject(MultipartFile file, EduSubjectService subjectService);

    List<OneSubject> getAllOneAndTwoSubject();


    List<TwoSubject> getTwoSubjectsByParentId(Long parentId);
}
